﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using IService.DataDLL;
using IService.Model;

namespace IService.Data.IManager
{
    public interface ISupplyPurchaseDaManager
    {
        DataTable GetSupplyPurchaseListAll(Type infoType);
        DataTable GetSupplyPurchaseListPagin(Type infoType, PagingEntity pe);
        DataTable GetLatestSupplyPurchaseList(Type infoType, int supplyPurchasenum, string whereClause);
        DataTable GetLatestSupplyPurchaseListByType(Type infoType, int supplyPurchasenum, int type);
        SupplyPurchase GetSupplyPurchaseById(SupplyPurchase supplyPurchase);
        bool InsertSupplyPurchase(SupplyPurchase supplyPurchase);
        bool UpdateSupplyPurchase(SupplyPurchase supplyPurchase);
        bool DeleteSupplyPurchase(SupplyPurchase supplyPurchase);
        bool DeleteSupplyPurchaseByIds(Type infoType, string Ids);
    }
}
